package jingweng.demo.springboot2.enums;

/**
 * @projectName: SpringBoot2Demo
 * @package: jingweng.demo.springboot2.enums
 * @className: OperationStatusEnum
 * @author:
 * @description: 操作状态枚举
 * @date: 2023/3/21 13:52
 * @version: 1.0
 */
public enum OperationStatusEnum {
    /**
     * 失败
     */
    FAIL(0),
    /**
     * 成功
     */
    SUCCESS(1);

    private int value;

    OperationStatusEnum(int value) {
        this.value = value;
    }

    public int value() {
        return this.value;
    }
}
